package com.one.blocks.rbac.domain;

import com.one.blocks.mvc.domain.Id;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 用户-账户关联表: sys_user_account
 *
 * @author <a href="mailto:idler41@163.con">idler41</a> created on 2022-12-10 10:50:41
 */
@Data
public class SysUserAccount implements Id<Integer>, RelationDomain, Serializable {

    /**
     * 主键ID
     */
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 登录账户id
     */
    private Integer accountId;

    /**
     * 创建者id
     */
    private Integer createBy;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;
}